package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "BASE_TEMPLATE_COLUMN_ENUM")
public class TemplateColumnEnum extends BaseObject {
	@MappingColumn(columnName = "TEMPLATE_ID", columnPk = true)
	private Integer templateId;

	@MappingColumn(columnName = "COLUMN_ID", columnPk = true)
	private Integer columnId;

	@MappingTable(tableName = "ESTATE_TEMPLATE_COLUMN")
	private TemplateColumn templateColumn;

	@MappingColumn(columnName = "ENUM_ID", columnPk = true)
	private Integer enumId;

	@MappingColumn(columnName = "ENUM_VALUE")
	private String enumValue;

	public TemplateColumnEnum() {
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public Integer getColumnId() {
		return columnId;
	}

	public Integer getEnumId() {
		return enumId;
	}

	public String getEnumValue() {
		return enumValue;
	}

	public TemplateColumn getTemplateColumn() {
		return templateColumn;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public void setColumnId(Integer columnId) {
		this.columnId = columnId;
	}

	public void setEnumId(Integer enumId) {
		this.enumId = enumId;
	}

	public void setEnumValue(String enumValue) {
		this.enumValue = enumValue;
	}

	public void setTemplateColumn(TemplateColumn templateColumn) {
		this.templateColumn = templateColumn;
	}

}
